/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.ucase.criminaltransfer.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 描述: 涉刑案件移送文件表 case_criminal_transfer_file 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年10月10日
 */
@Table(name = "upcase.case_criminal_transfer_file")
@Data
public class CaseCriminalTransferFile implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 案件id
     */
    @Column(name = "case_id")
    private String caseId;

    /**
     * 移送证据材料文件id
     */
    @Column(name = "file_own_id")
    private String fileOwnId;

    /**
     * 移送证据材料文件名称
     */
    @Column(name = "file_name")
    private String fileName;

    /**
     * 移送证据材料文件地址
     */
    @Column(name = "file_url")
    private String fileUrl;

    /**
     * 移送证据材料文件来源：1文书 2证据
     */
    @Column(name = "transfer_file_source")
    private String transferFileSource;

    /**
     * 证据类别
     */
    @Column(name = "evidence_type")
    private String evidenceType;

    /**
     * 证据名称
     */
    @Column(name = "evidence_type_name")
    private String evidenceTypeName;

    /**
     * 文件类别后缀
     */
    @Column(name = "file_type")
    private String fileType;

    /**
     * 上传人id
     */
    @Column(name = "upload_user_id")
    private String uploadUserId;

    /**
     * 上传人姓名
     */
    @Column(name = "upload_user_name")
    private String uploadUserName;

    /**
     * 上传时间
     */
    @Column(name = "upload_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime uploadTime;
    /**
     * 证据名称
     */
    @Column(name = "evidence_file_type")
    private String evidenceFileType;
    /**
     * 排序号
     */
    @Column(name = "sort_no")
    private Integer sortNo;
    private static final long serialVersionUID = 1L;


}
